home *** CD-ROM | disk | FTP | other *** search
/ Nikkei Mac 11 / NIKKEI-MAC-CD-VOL-11-1998-03.ISO.7z / NIKKEI-MAC-CD-VOL-11-1998-03.ISO / オンラインソフト / 3.デスクトップを楽しく / DarkSide of the Mac 4.2.sit / DarkSide of the Mac 4.2 / SampleFaders / Invert.r < prev    next >
Text File  |  1994-08-18  |  2KB  |  122 lines

  1. /*
  2.     DarkSide 3.0 - a 7.0 dependant, system clean expandable screen saver.
  3.     
  4.     copyright ゥハ1990, 1991, 1992 by Tom Dowdy
  5.     All rights reserved.
  6.     
  7. */
  8.  
  9. #include "Fader.r"
  10.  
  11. resource 'DITL' (5000, purgeable) {
  12.     {
  13.     { 5, 5, 20, areaWidth-5 },
  14.         StaticText {enabled, "Invert ゥ 1990-92 by Tom Dowdy"},
  15.         
  16.     { 25, 15, 25+30, areaWidth-15 },
  17.          Control {enabled, 5000+1},
  18.  
  19.     { 5, areaWidth-33, 5+32, areaWidth-2 },
  20.         Icon {enabled, 5000},
  21.  
  22.     {0,0,0,0},
  23.         HelpItem { enabled, HMScanAppendhdlg {5000, 0} },
  24.     };
  25. };
  26.  
  27. resource 'hdlg' (5000, purgeable) {
  28.     HelpMgrVersion,
  29.     0,
  30.     hmDefaultOptions,
  31.     0,
  32.     3,        // hang left
  33.     
  34.     // missing items
  35.     HMSkipItem {},
  36.         
  37.     // items in the dialog
  38.     {
  39.     HMStringItem{
  40.         {0,0},
  41.         {0,0,0,0},
  42.         "Press here for additional information about this fader.",
  43.         "",
  44.         "",
  45.         "",
  46.         };
  47.  
  48.     HMStringItem{
  49.         {6,6},
  50.         {0,0,0,0},
  51.         "Use this control to adjust the speed of the flashing.",
  52.         "",
  53.         "",
  54.         "Use this control to adjust the speed of the flashing.",
  55.         };
  56.         
  57.     HMStringItem{
  58.         {0,0},
  59.         {0,0,0,0},
  60.         "Press here for additional information about this fader.",
  61.         "",
  62.         "",
  63.         "",
  64.         };
  65.     }
  66. };
  67.  
  68. resource 'CNTL' (5000+1, purgeable) {
  69.     {0, 0, 0+30, areaWidth-20},
  70.     5,
  71.     visible,
  72.     9,
  73.     0,
  74.     16*200,
  75.     5000+1,                // STR# ID of the names
  76.     "Speed of flashing: "
  77. };
  78.  
  79. // strings filled in for the above control
  80. resource 'SCTL' (5000+1) {
  81.     {
  82.     0,    "Sloth-like";
  83.     1,    "Molasses";
  84.     2,    "Pokey";
  85.     3,    "Slow";
  86.     4,    "Medium";
  87.     5,    "Fast";
  88.     6,    "Speedy";
  89.     7,    "Wizzy";
  90.     8,    "Lightning";
  91.     9,    "Blinding";
  92.     };
  93. };
  94.  
  95.  
  96. // resource to control the DITL above
  97. resource 'DCTL' (5000) {
  98.     {
  99.     // item 1        about ID        ignored            ignored
  100.     1,                5000,            0,                0;
  101.     
  102.     // item 2        res control        ignored            first short
  103.     2,                 3,                 0,                 0;
  104.  
  105.     // item 3        about ID        ignored            ignored
  106.     3,                 5000,            0,                 0;
  107.     };
  108. };
  109.  
  110. // default values for our fader
  111. resource 'DFLT' (5000) {
  112.     {5},
  113.     {};
  114. };
  115.  
  116. resource 'HELP' (5000) {
  117.     "Invert ゥ 1990-92 by Tom Dowdy¥n¥n"
  118.     "Invert is a very simple fader designed mostly to show you how to create "
  119.     "a fader for DarkSide.  However, if you enjoy running it on your machine, "
  120.     "that's okay too."
  121. };
  122.